import {
    Actions
} from 'react-native-router-flux';

import store from './../state';

export default () => {
    const {
        user
    } = store.getState();

    let {
        photos = []
    } = user.loginUser || {};

    return true;


    photos = photos.filter(
        ({attachId}:any) => !!attachId
    )

    if (photos.length > 0) {
        return true
    }

    Actions.push(`/user/photo`, {
        source: `me`
    })
}